package org.changs.game.android.data.db.model;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

@Entity(nameInDb = "music")
public class Music {

    @SerializedName("id")
    @Property(nameInDb = "id")
    @Id
    private String id;

    @SerializedName("name")
    @Property(nameInDb = "name")
    private String name;

    @SerializedName("type")
    @Property(nameInDb = "type")
    private String type;

    @SerializedName("url")
    @Property(nameInDb = "url")
    private String url;

    @Generated(hash = 813404172)
    public Music(String id, String name, String type, String url) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.url = url;
    }

    @Generated(hash = 1263212761)
    public Music() {
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
